package com.shuoren.roomtemperaturecloud.entity;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import lombok.Data;

/**
 * @Auther: caoxq
 * @Date: 2018/11/28 18:16
 * @Description:
 */
@Data
public class ReturnJson {
    private Integer code;
    private String toast;
    private Object data;

    public ReturnJson(Integer code, String toast, Object data) {
        this.code = code;
        this.toast = toast;
        this.data = data;
    }

    public ReturnJson(Integer code, String toast) {
        this.code = code;
        this.toast = toast;
    }

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getToast() {
		return toast;
	}

	public void setToast(String toast) {
		this.toast = toast;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
    
    
}
